package com.ruicar.afs.cloud.afscase.channel.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @author: sang jian
 * @date: 2020/6/2 11:16
 * @description:
 */
@Data
@ApiModel(value = "开票方关联表表")
@TableName("channel_drawer_party_rel")
public class ChannelCoopeDrawerParty extends BaseEntity<ChannelCoopeDrawerParty> {

    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long channelId;
    /**
     * 开票方ID
     */
    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long drawerId;
    /**
     * 车商ID
     */
    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long cardealerId;

}
